Ext.define('TS.model.base.ProductClassifyModel', {
    extend: 'Ext.data.Model', 
    fields: ['classifyId', 'parentId','classifyName'
    	/*,{ name: 'text',
	            convert: function(value, record) {
	                return record.get('classifyName');
	       }
	    }*/,
	    { name: 'id',
	            convert: function(value, record) {
	                return record.get('classifyId');
	       },
	       persist :false
	    }
    ]
});

	/*private Integer classifyId;
	private Integer parentId;
	private String classifyName;
	private List<ProductClassify> childs = new ArrayList<ProductClassify>();
	*/